package com.gionee.survey.service.impl;

import com.gionee.survey.bean.Feedback;
import com.gionee.survey.dao.IFeedbackDao;
import com.gionee.survey.service.IFeedbackService;

/**
 * 问卷反馈
 * @author yuwei
 * @time 2017年4月17日 上午11:09:15
 */

public class FeedbackServiceImpl implements IFeedbackService {
	private IFeedbackDao feedbackDao;
	@Override
	public int deleteByPrimaryKey(String id) {
		return feedbackDao.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(Feedback record) {
		return feedbackDao.insert(record);
	}

	@Override
	public int insertSelective(Feedback record) {
		return feedbackDao.insertSelective(record);
	}

	@Override
	public Feedback selectByPrimaryKey(String id) {
		return feedbackDao.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(Feedback record) {
		return feedbackDao.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(Feedback record) {
		return feedbackDao.updateByPrimaryKey(record);
	}

	public IFeedbackDao getFeedbackDao() {
		return feedbackDao;
	}

	public void setFeedbackDao(IFeedbackDao feedbackDao) {
		this.feedbackDao = feedbackDao;
	}
}
